popup switch hook function now updates line numbers if linum mode is on