A modal transition base class that abstracts the differences between iOS 7 and 8, as well as different orientations