fix legend font size
scroll to top when page flips, closes #136
do not set flex-basis to 'auto' as it messes up things