now transitions between detail and master