added variables to responsive, refined navigation function in slider, added resize function