Javascript lib too handle vertical elastic content