fix legend hiding on bigger screens