added pointer of window moving back.