#39 - fixed auto scroll when editor's maximizing/minimizing