move svg get to initLayout