code added for sliding content

Added the sliding content and combined the 2 index files into one file.