Support auto-resizing on rotations, fix #18
Avoid infinite loop when used with Auto Layout
Merge pull request #35 from venmo/ayanonagon/auto-resize

Support auto-resizing on rotations, fix #18