remove stay on screen code