adjust sidebar layout