Fixed the issue in the following thread.
https://colorlibsupport.com/t/slider-keeps-changing-height/#post-45484