Put figure elements inside li elements