Why do frames drop when scrolling to the top of it

So a system which adds more items to the frame the frames are fine when scrolling down and when they are inserted however if I want to scroll back up the the very top they drop for some reason?

What exactly are you tying to achieve?