Jquery code to change the positions of elements so it looks like they are stacking on top of each other while scrolling