Re-implement swipe to switch

Still needs the RS part to be enabled. Disabled by default.

Change-Id: Ic9e9a9995f12ebf29a0da6b7c5141c4a24c81776
Signed-off-by: iceandfire <arhamjamal@gmail.com>