update logo margins in mobile state