Taken from http://stackoverflow.com/questions/5672724/drop-down-menu-or-view-on-slide to save people copy and pasting the source code.