fix chapter menu overflow