refactor and add configurable logo margin