Limit panel height, add smart autoscroll.