layout: add top bar and sidebar to directory