added page structure and transitions