work on transition between views, err'thing broken in chrome