Issue with 'after_menu' argument in 'variations'

The 'after_menu' argument is being outputted after the loop (In multiple
mode) while the 'before_menu' is being outputted in the loop. This means
if you have multiple variant options and these arguments set then you
will output more "befores" than "afters".

This change fixes the issue.
Merge pull request #2335 from WazzaJB/master

Issue with 'after_menu' argument in 'variations'