split out sparklines code
better positioning of sparkline values