creating the rightsidebar layout