Fixes for waitThenScroll directive
Merge pull request #101 from cloudspace/67067148_wait_then_scroll_fix

Wait then scroll should scroll to main app no matter what the window size is.