got index map js working much smoother with clicking and hovering