Fix position for scrolled page

When page is scrolled horisontally, alert does not appear on visible part of screen.
Merge pull request #1 from denispeplin/patch-1

Fix position for scrolled page