hide menu once clicked