Add support for the iPad version and for popover controllers