Fixed bug for 1st panel

When clicking on the 1st panel another time it would not size to medium.