fix jumping to top of screen
adding missing condition
whitespace
Merge pull request #2299 from Wikia/VE-696

VE-696: Fix jumping to top of screen