fix changing selectedIndex of container display