update styles in legend header to add cursor move and make close button more visible