Add split and collapse listeners