add snap animation