Added onflipfinish event to stacks
Added individual stack animation checks
Removed unnecessary touchend events