panel: Add initial support for dynamic panel size

Note the applets currently don't adapt to the size alterations, so this will
need to be rectified in the near future.