Screen reposition script implemented