disabling drag for the menu.