Consider border of scrollbar rails.

Fixes #176 https://github.com/noraesae/perfect-scrollbar/issues/176
Keydown now checks if the event was preventDefault()'ed.