Make wrapper div resize properly for custom modules with set width