improved menuhandling on mobile devices