Organize output partials and add direction controls