Fix "hide panel" button not rotating in Chrome and Safari