Added afterresize plugin