alert on left/right arrow clicks