Create mouseover and mouseout events for next and previous buttons.