much smoother slide switching animation