add support for mouse drag