Fix containment for panzoom elements with different aspect ratios. Close gh-24.

Examples
  contain: invert - http://codepen.io/timmywil/pen/lyjHv
  contain: true   - http://codepen.io/timmywil/pen/rAhtb