encapsulating back button