added 10% padding to window.