enable market restore

Change-Id: I79067023cd1b3575bad14fae752049622d11c100
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I3ae59fdf98e9727d10a648934d817438d88c7172
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>