Add panelutil functions moveToFront and moveToBack
curvechart panel: avoid double-plotting of curves
iplotCurves: avoid double-plotting of curves