Adding dropdown functionality.

Thought I'd take a stab at adding some functionality.