SILK-133 Allow legends to be in the right or on the left