reinsert != NULL to indicate var is not bool
Merge pull request #82 from baracoder/autoscroll_possible_fix

reinsert != NULL to indicate var is not bool