agenda layout change and nav now dissapears when you tap outside of it