added legend, vertical space on manual change, bug fix for plot height