Added rotation and centering of snake