Updated viewport and box to make svg alway 100% and respect height changes; Fixed index problems of legend textboxes; Added highlight event for pieces