don't resize when asked for same width or height
fix resize UI and add code to display all available sizes