Refactor css funcs
Add image ratio to avoid end up with huge images
Add responsive for demo