Fix panel transition