modify: compatible with svg for swipebox