I would like to create the segmented control in the image below. What i currently have or attempted using is the library in the following link : https://github.com/1iveowl/P