Support slide as well as flex-slide attribute