Add css resource and fix view