Started work on global function for slider intro.