adding support for pickerPosition: top-left and top-right