make Back behavior customizable