Make layout work better with any size variation