generating left/right nav buttons, double event listeners