Removed unused switch_pos function (probably missed in 48f65d160f9c0756af4a95dafaa9b5fb2b9a1e64)