remove hardcoding of element's height