Don't scroll by keyevent while form element has focus

Prevent scrolling when keypress event happens inside a form element (input, textarea). Currently perfectScrollbar scrolls the page when a space is entered in an input and prevents the event. This small fix solves this problem.