Floating the legend of the pie graph only when not on small viewports