sorted removing focus once its changed to a diff view