change the paper direction