Making topmenu work on mobile