Change legend to be inline