Rotation of video using a trackbar on openCV