Fix css reflow bug

elementTop was not being calculated consistently, when you refreshed the page, you'd get a lower value than what it should actually be, because css hasn't fully reflowed.