Listen to resize events and use client-coordinates instead of
page-coordinates.

By using client-coordinates the rotation behaviour isn't wrong when the
page is scrolled.
Merge pull request #1 from philippotto/master

Listen to resize events and use client-coordinates instead of page-coordinates