Speed up scroll checking
Put the whole thing in the window width check