Adjust UI layout