In progress of the javascript for the nav arrows