stacks the elements on the page in the order last moved elements