Effect of supercoiling on the λ switch