Fix a bug where toolbar would not respond to tap events

The cause was that detailView was not resized at the same time as we set
the containing scroll view’s contentSize.