Fix mobile's layout break of all chapters in Rails 4.0