Auto weapon hand swap behind cover

I would love it if when I was near something and started walking around it (to the right for example), that it would swap my weapon to the right hand. Obviously there needs to be some very close distant for this to sticky the option so you can move left or right around a piller and shoot without having to keep hammering the button to swap weapon hand. Your thoughts?