The snake now appears at the opposite side if it goes out of the window