The main thing that threw me off was your enter and exit. Try to make it so you always enter from the same side, instead of what you're doing.