Added auto win resize for splits