refactor slider control to use IB