Now that we have the basic functionality from the previous episode working, let's refactor the code into something far more reusable.
Note: JavaScript is necessary to allow for this functionality across all browsers. However, if you have the means, you might instead use CSS to accomplish the same effect much more easily.