adds functional slider for iPhone style slider