Add drag direction check and handle function