added Hide Menu finctionality… but it doesn't work as expected