fix view height and customize navbar