add back button and changing view