changing form size to fit screen