Can now change legend position

Fixes #745