Transition to slider wrapper class

This will be needed to CSS transitions so doesn't seem bad.