take View rotation into account when calculating shadow offsets

- As Material can move along any axis, adjust the shadow offsets
  according to the current rotation of the element
use antialised rendering of View rectangle when element has rotation

- This smooths the visual appearance when the View is rotated during
  transitions
Merge pull request #39 from phodju/master

Align elevation shadows correctly when View is rotated