now there are no more empty areas on the right and on the bottom of the window