The role of impulsive particle acceleration in magnetotail circulation