custom scrolling values 1/2

ported/modified from https://gerrit.omnirom.org/#/c/4251/
originally written by Yanuar Harry <ai.the.smarties.physics@gmail.com>

Change-Id: I7f23fe736507f836137c5d6dc0b5fd2ad4a95462
Merge "custom scrolling values 1/2" into kk44