Made image slider into self contained function.
Styling.