jquery-layoutmanager gives you the possibility to fill elements automatically into available space.