fix to background position so there's no flash when switching pages