Trying to do a naive template matching by swiping image across