set animation type to sliding