made it possible to hide slider