Attempt 2 at fixing slider loading issue