updated footer and js for the arrows