set limit of ViewPager Cache to 5 pages so it contains all 5 pages of the app at all times in memory so it doenst have to recreate it all the time. the default value is 2.

Also created a constructor for the Goal fragment so the app doesnt't force close when the app comes back to OnResume()