rendering now supports rotation