add back button

add back function to app pages