Implemented slider for target depth