Tweak panels logic