refactored slider steps to use dynamically created methods.