Minecart won’t keep bouncing back and forth

What am I doing wrong? This is for an auto sugarcane farm.