fixed variable naming bug

this would have either output an empty $after_widget var if $before_widget is designed 
OR
if would have ignored the set $after_widget var if the $before_widget var is unset.