updated show function on pill buttons to relayout control