Almost solve the problem with slider