Solved the entire scaling and css problems