Refactor and add facebook dynamic width.