adding window size for native apps