Embedded form with multiple pages not displaying properly