Fix position for scrolled page

When page is scrolled horisontally, alert does not appear on visible part of screen.