Confused about the way this speaker is wired
The output pin (3) of a 555 is a push-pull (totempole) output, which means that it can both sink and source current. Hence you can connect the speaker either way, to ground or to power. 

Not that this is a very elegant circuit, a 5k pot in series with an 8 Ohm speaker, juk!