Added feature to autoresize window's height to screen height

Added feature to autoresize window's height to fit browser screen. This avoids having window with save/cancel and tool buttons out of the screen.

Before:  ![Before](https://www.evernote.com/shard/s114/sh/fb6f9710-d9eb-4be9-a0b8-ac91c9375ac2/cd7b5740424267afc95b7f28e7f8b640/res/6b65564e-14dd-456c-992f-ba0af8840810/skitch.png?resizeSmall&width=832 "Before")

After (window is scrollable):![After](https://www.evernote.com/shard/s114/sh/31323415-cf7f-40e6-b20c-170d7ddc7331/72d906d9e68a139301ad76cfe13a9b2b/res/eb1293c1-9744-4e03-9428-a72790cb9002/skitch.png?resizeSmall&width=832 "After")