resize event effects svg