Added function to handle orientation change
Merge pull request #3 from skypanther/master

Added function to handle orientation change
Merge pull request #1 from danielsefton/master

Update to support latest changes