Adding Initial code for bg slider