Fix sidebar toggling