rotation works but there is a horrable flickering