Fix issue where content boxes of not (.selected) are visible
Document flex.js code