Added support for variable heights. Fixed the issue with auto layout and the frame based container.