Adds right left switch functionality