changed scaleValue to default to 1,  and refactored css to not use elements