added spring animation block