Creates a simple slider