menu scroll auto resize bug fix