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.