set elements speed