Initial slider and tab code functioning.