updated edit mode so switch moves to left