board rotation implemented