fixing ui to fit screen