Enabled window resize detection but now the height of the slides only change on desktop (width >=768px)