bootstrap3 support
tried to fix from in div problems
refactored twig functions