Fixed slope issue and added navigation