Add browser layer and use it to deal with program view