it can switch page when dragging, but still have bugs
done: implement dragging cross page