add enhancements for using popovers on ipad.
merging from remote