closing trail scroll issue