better timed page switching