added current index display.