added navbar and resize