Implemented hiding and showing search and menu fragment