making menu link open/close behavior