Adjust UI to new size