adjusting of css to custom views