Make pageslide work after redraw of SVG