panel: set panel position when screen resizes (used eg. in virtualization)