Implemented swipeDetection but not sure if its working =.="

Signed-off-by: UltimateGoDLikE <lohtonghong@hotmail.com>