fixing menu open snap issue