Moving panels to shared styles