LDEV-1237: Permission gate couldn't be opened if the class export portfolio had been done, as the export set the readonly flag to true and the readonly flag wasn't being reset. Now all fields are reset before the gate screen is displayed.
fixes from todays test session: learner progress to scroll to current act when initially loaded + fix double var use in learner tab and container depths