Adding css transitions for page turning