finished main page accordion component