modified the css to fit a view