Rotation support

Display rotation support added