added option to control if height automatically adjusts