adjusted contextView to hide menu after behavior is added