Modified Settings page to autoresize