refractoring css to make slider consistent aacross basicLayout-water