added splitview switching