Maintenance and functional gender specialization of flexistyly