improve slide mode