Auto resizes editors base on which one is focused