allowed for new and edit pages to have auto height