reseting code now scrolls to active line