Made some bigger changes

- Added options to make the slide image stay within the img tag and not
be placed as a background image.
-Made a function to make the css for each slide.