try to fix sliding effect by using animatew()