Make stack handle L and R push/pop