preparing the side bar view for lightbox