fixes show/hide of refine sidebar