added legend for goals on main view