changed layout so that window cant be resized