correctly display active item