added timout for menu to dissapear on inactivity