Similar questions have been asked before but I want the restriction to work "smooth", e.g. when you have a horizontal and a vertical panning vector (e.g. you pan t