nav styles, popup closing and other alighnment issues fixed.