added mouse support for the menu and inventory screens