return to correct screen on resize