added buttons to navigate between viwes