refactoring to one controller for all frames
frames go back on route change