put bracket back in sidebar function