resize the UI to be more high-dpi friendly