added option to disable drag on mouse events