hide mouse after 5 sec of inactivity

Add some code to hide the mouse cursor after 5 seconds of inactivity