Update switch buttons position.