fix scroll mechanic