Autoresize + rotate for edit forms;