sidebar now working