AchorMode for Resize

also fixed other issues，like hide thumb when resize