Added dynamic dot number with active class