#114 Changed the way panOnDrag option is checked