That "transistor" is probably a triac which is essentially two SCR's back to back. Simply put the reostat controls the conducting point of the triac and thus the voltage output.


John