use props, remove `$ window .resize` in Book