Fixed the resizing the content view controller instead when panning happens.
Merge remote-tracking branch 'origin/master' into resize
Merge pull request #3 from moneytree/resize

Resize