fix the slide-in with a max-height hack