dynamically build arrow img, bind events