fix scroll and spy