added video rotation support on the UI