a jquery plugin to emulate the effect of stop the events handling and resume them later