In gimp onion skinning is done with, 'layers', and it's pretty fabulous. Done quite a few sprites with it, still can't beat it but there is a 2d animation SVG editor called, 'Pencil', may be more what you're looking for.
Would Onion-skinning in that show the previous frames of the animation for...