Magazine-style page flipping in pure CSS/JS