fixed the slider so it adjusts when the window resizes. also added a .gitignore