adjusted menu function on mobile