copied branch_pages code into this template to simplify things. also removed the unneeded sidebar_group class