some magic with dynamic panel width.