update home page max-height