working version of home navigation