setup 2 trackbars to control window width and height
handle in the same way all messages from both trackbars