made view gallery and view map buttons functional (clicking on them will redirect you to the desired page)