exporting IS_IPAD flag
added notification for window open