Fixed rotateLeft and rotateRight

Fixed implementation of `rotateLeft` and `rotateRight` to add correct translation needed to bring content to view port