rewrote browser manager now with fragments