The mousedout and mouseover events were not being set correctly when the
next and previous buttons were clicked.  This fixes that.