Fix sidebar gallery