fixed minor scroll switching bugs