implement callback to flexslider 'after' property