modififed setHeightToWindow plugin to set min-height instead of height