Fixed animation for toggle button