format
legend template
slider improvements