Added support for background images and UIPopoverController for use on iPad