added limits to moveMainLeft macro