custom slider appears but is not fully functional