handle video rotations