adding tap to hide menu