add keyboard event, end scroll horizontal version