Update main.js

Added code to link banner images to prev/next buttons