added variable slider size