adding menu button to necessary layouts