refactoring some css; recalibrating the jquery scroll function