My Script is making jQuery not responding

My Script is making jQuery not responding

Hi,

I have an script with windowssize conditions for responsive functionality in jQuery.
But if I scale the window I get the error that a jQuery is not responding.
I have tried to comment something out in my code to test if the script will work better but I don't have getting a positive reaction.


Here is my code:

https://gist.github.com/janstieler/fb88fe9dbc720e06cfeb57dd0fe4fdf3
(It was too long for paste it directly here)

I would appreciate if soemone can help me!

Kind regards