once you have the event, you can read out the
current screensize (already works), and update the positions of
your panels (and whatever else needs to be adapted)