Added paginator to footer; moved legend to top