Added close menu function