added gallery java nav, still need main nav

also fixed original gallery bug on next button