config to switch from left to right side