I have an UL with a lot of List items in it, I made a custom scroll to animate the DIV box so that you can see all the list items, i was the make an if else statement that says if your at the top you cant scroll past it and if you dont need to scroll to see anymore LI you cant go down any further.