Correct infinity scroll, window resizing, keyoard controls