Added rotation functionality for items (mouse and keyboard)