adds fragments and navigation