Legend

legend now works as little check boxes at the bottom