add css and helper method to render views