working example using storyboards, nibs, and code in portrait and landscape
option to change animation type