Moving flot legends to a separate container