Use class instead of ID to refer to Swipebox instances

Changed each Swipebox instance to refer to itself by class, rather than ID.  Also, added an option to flip the controls/caption from the bottom to the top.