oppg1 add currentdivindex to the displayed div