Added an option to disable drag functionality. Fixes #169