Make the MR file tree react on viewport resize if no setting is saved on localStorage
As follow-up of https://gitlab.com/gitlab-org/gitlab-ce/issues/52361 and https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22273, by suggestion of @filipa, we should check on resize whether the file tree should be open or not.
As I understood it, if the user hasn't made the option to open/close it, the default should be respected on resize. (Please correct me if I'm wrong).
Edited by André Luís