Fix show hide panel