Custom scrollbar with mouse wheel enabled

Referring to the given thread of adding mouse wheel action to the custom scrollbar.

http://www.kirupa.com/forum/showpost.php?p=1770409&postcount=50

if we have two scroll bars side by side then on moving mouse wheel both the scroll bars sets in motion.

how to handle such situation?