Fixed scroll to head and end behavior
Fixed on key event in browser