Added 'horizontal' mode for the legend