ui - adapting to resize

tested up to 1920 * 1200