Fix view 'projects/_project' to nil-check @prev_id and @next_id

app/views/projects/_project.html.erb
- Fix to nil-check @prev_id and @next_id and not to show
  each link if nil.