Rotate a mesh around it's center using quaternion

Please check the gif so you know what’s my problem

my current blueprint setup is

i’m able to rotate around the up vector as my axis of rotation for left and right panning.

but for up and down panning weird issue happens.
i think because of the Euler gimbals lock.