proper screen resetting