use window height/width rather than preset
final tweaks