add y axis rotation for 2D

add y axis rotation for 2D