extracted back button creation
instantiating back button with factory function