adding css properties when hovered