Reduce window size to exclude task bar area

Just as a base for discussion, not sure where such functionality should be best placed:

When openig windows for zone definition or event frames for HD cameras where the image size is larger than current screen resolution, the windows extend under the task bar area.
Controls on the lower edge of the window (Add new zone, next frame...) are now hard to reach: The window must be manually resized and moved (or maximized) to get at these controls.

On browsers where a window.outerHeight Property is available, it's possible to resize the windows so they fit in the available screen area (i.e, Screen height - task bar height). For me this makes working with HD cameras much easier.

Works in Current Chrome, Firefox and IE11. Doesn't work for IE<11