Adding functional left / right arrows in the submission legend; making the submission-legend-close functional