Add inverse scrolling and timeout fix.

Added attribute for inverse scrolling.