Fix Safari 8 issues and allow to specify drag anchors for both axes

Fixes #1