Camera rotation jump


Actually this is related to a question that I have just closed.
It is there a way of rotating the camera on the Y axis avoiding the upside-down correction, like you have in the TrackBall Controls.

Thanks in advance
Attached JSFiddle.

I posted the solution here:

This ticket can be closed