add slider button to non-xib ui