added nvigation controls and logic to navigrid