VE-1288: There is no need to listen to resize and scroll event if context menu is not displayed - so as an improvement - listen to those events only when context menu is displayed.
VE-1288: $.off for the whole events namespace insteaf of particular events
Merge pull request #4013 from Wikia/VE-1288

VE-1288: There is no need to listen to resize and scroll event if contex...